package edu.psu.ist.ist311.trilogyIM;

import java.awt.*;

import javax.swing.*;


public class SendText extends JPanel{
	protected JTextField text = new JTextField(30);		//place to type text
	protected JButton confirm = new JButton("Send");			//button to send
	
	public SendText(){
		this.setLayout(new BorderLayout());
    	this.add(text,BorderLayout.LINE_START);
    	this.add(confirm,BorderLayout.LINE_END);
	}
	
	public String getText(){
		return text.getText();
	}
	public void setText(String string){
		this.text.setText(string);
	}
}